//
//  OrderTableViewCell.m
//  LoverGo
//
//  Created by liudonghuan on 14-9-11.
//  Copyright (c) 2014年 yexiao. All rights reserved.
//

#import "OrderTableViewCell.h"

@implementation OrderTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        _orderTitle = [[UILabel alloc]initWithFrame:CGRectMake(5, 0, SCREEN_WIDTH, 20)];
        _orderNum = [[UILabel alloc]initWithFrame:CGRectMake(5, 20, SCREEN_WIDTH, 20)];
        _orderTime = [[UILabel alloc]initWithFrame:CGRectMake(5, 40, SCREEN_WIDTH, 20)];
        _orderPrice = [[UILabel alloc]initWithFrame:CGRectMake(SCREEN_WIDTH-80, 20, 80, 20)];
        _orderTitle.font = [UIFont fontWithName:@"Helvetica" size:13];
        _orderNum.font = [UIFont fontWithName:@"Helvetica" size:13];
        _orderTime.font = [UIFont fontWithName:@"Helvetica" size:13];
        _orderPrice.font = [UIFont fontWithName:@"Helvetica" size:13];
        [self addSubview:_orderTitle];
        [self addSubview:_orderNum];
        [self addSubview:_orderTime];
        [self addSubview:_orderPrice];
        
    }
    return self;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
}

@end
